# users/urls.py

from django.urls import path
from .views import (
    RegisterView,
    LoginView,
    SendVerificationEmailView,
    AvatarListView,
    UserDailyActivityListView,
    CheckInView
)

urlpatterns = [
    path('register/', RegisterView.as_view(), name='register'),
    path('login/', LoginView.as_view(), name='login'),
    path('send-verification-email/', SendVerificationEmailView.as_view(), name='send_verification_email'),
    path('avatars/', AvatarListView.as_view(), name='avatar_list'),
    # 新增：
    path('user/daily-activities/', UserDailyActivityListView.as_view(), name='user_daily_activities'),
    path('user/checkin/', CheckInView.as_view(), name='user_check_in'),
]
